package com.settlement.system.mapper;

import com.settlement.system.model.entity.SysSubjects;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* <p>
* 科目设置 Mapper 接口
* </p>
*
* @author huangrensen
* @since 2023-09-07
*/
@Mapper
public interface SysSubjectsMapper extends BaseMapper<SysSubjects> {

    /**
    * 插入数据
    *
    * @param sysSubjects 实体
    * @return
    */
    int insertData(SysSubjects sysSubjects);

    /**
    * 更新数据
    *
    * @param sysSubjects 实体
    * @return
    */
    int update(SysSubjects sysSubjects);

    /**
    * 查询数据
    *
    * @param sysSubjects 实体
    * @return
    */
    List<SysSubjects> getList(SysSubjects sysSubjects);
}
